package com.example.controller;

import com.example.BaseController;
import com.example.dao.Constants;
import com.example.dao.ErrorCode;
import com.example.dao.ErrorMessage;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController extends BaseController {

    @RequestMapping("/list")
    public String getList(){
        return createJson(ErrorCode.SUCCESS,ErrorMessage.IS_POST);
    }
}
